package com.wlps.vo;

import com.wlps.entity.SysPermission;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("菜单Vo")
public class MenuVo {
    //menuList包含返回的菜单信息值
    @ApiModelProperty(value = "菜单数组")
    private List<SysPermission> menuList;
    @ApiModelProperty(value = "权限数组")
    private List<String> authList;
    @ApiModelProperty(value = "路由数组")
    private List<SysPermission> routerList;
    @ApiModelProperty(value = "token")
    private String token;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "角色名称")
    private String roleName;
}
